protoc   --proto_path=myservice/myservice --go_out=myservice/myservice --go_opt=paths=source_relative  --go-grpc_out=myservice/myservice --go-grpc_opt=paths=source_relative  myservice/myservice/myservice.proto

protoc   --proto_path=myservice/myservice --grpc-gateway_out myservice/myservice --grpc-gateway_opt logtostderr=true --grpc-gateway_opt paths=source_relative --grpc-gateway_opt generate_unbound_methods=true myservice/myservice/myservice.proto

@REM PS D:\project\src\grpc-gateway> protoc --proto_path=myservice/myservice --go_out=myservice/myservice --go_opt=paths=source_relative  --go-grpc_out=myservice/myservice --go-grpc_opt=paths=source_relative  myservice/myservice/myservice.proto


@REM go install \
@REM     github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway \
@REM     github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2 \
@REM     google.golang.org/protobuf/cmd/protoc-gen-go \
@REM     google.golang.org/grpc/cmd/protoc-gen-go-grpc

@REM go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2@latest

@REM protoc3 -I ./ -I D:\project\src\godcs\soapp\bos\vendor --grpc-gateway_out=logtostderr=true:. ./spb.proto 
@REM protoc3 -I ./ -I D:\project\src\godcs\soapp\bos\vendor --go_out=plugins=grpc:. ./spb.proto
